package com.saicmotor.pay.request;

import com.saicmotor.pay.entity.Goods;

import java.util.List;

public class OrderSubmitRequest {
    /**
     * 订单来源
     */
    private String source;
    /**
     * 订单备注
     */
    private String remarks;
    /**
     * 订单类型（0:免费、1:试用、2:买断、3:单次订阅、4:连续订阅）
     */
    private Number type;
    /**
     * 商品信息
     */
    private List<Goods> cartItems;
    /**
     * 下单用户ID
     */
    private Long userId;

    /**
     * 卖家用户ID
     */
    private Long sellerUserId;

    /**
     * 开发用户ID
     */
    private Long devUserId;

    /**
     * 订单下单设备类型（1：手机， 2：车机）
     */
    private Integer deviceType;

    /**
     * 车架号
     */
    private String vin;

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Number getType() {
        return type;
    }

    public void setType(Number type) {
        this.type = type;
    }

    public List<Goods> getCartItems() {
        return cartItems;
    }

    public void setCartItems(List<Goods> cartItems) {
        this.cartItems = cartItems;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSellerUserId() {
        return sellerUserId;
    }

    public void setSellerUserId(Long sellerUserId) {
        this.sellerUserId = sellerUserId;
    }

    public Long getDevUserId() {
        return devUserId;
    }

    public void setDevUserId(Long devUserId) {
        this.devUserId = devUserId;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }
}
